home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _E23E6F60C9B844C2AFE92D65ACCB4A1B < prev    next >
Encoding:
Text File  |  2003-11-12  |  1010 b   |  45 lines

  1. light("omni")
  2. {
  3.     pass()
  4.     {
  5.         tmu()
  6.         {
  7.             texgen("dynlight2d")
  8.  
  9.             texture()
  10.             {
  11.                 image("dynlight2d.png")
  12.                 addressfunc("clamp", "clamp", "clamp")
  13.                 filtering("linear_no_mip")
  14.             }
  15.  
  16.             colorop("mul", "texture", "tfactor", "current")
  17.             alphaop("mul", "texture", "tfactor", "current")
  18.         }
  19.  
  20.         tmu()
  21.         {
  22.             texgen("dynlight1d")
  23.  
  24.             texture()
  25.             {
  26.                 image("dynlight1d.png")
  27.                 addressfunc("clamp", "clamp", "clamp")
  28.                 filtering("linear_no_mip")
  29.             }
  30.  
  31.             colorop("mul", "texture", "current", "current")
  32.             alphaop("arg2", "texture", "tfactor", "current")
  33.         }
  34.  
  35.         tfactor(1,1,1,0)
  36.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  37.  
  38.         blendfunc("one", "one")
  39.         depthfunc("lequal", 0)
  40.  
  41.         blackfog()
  42.     }
  43. }
  44.  
  45.